﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

public partial class Admin_AdminEmail : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string email = Request.QueryString["email"];
        
        txtemail.Text = email;
        lblmessage.Visible = false;
    }
    protected void BtnSend_Click(object sender, EventArgs e)
    {
        string emailaddress=txtemail.Text.Trim();
        string subject=txtsubject.Text.Trim();
        string message=txtMessage.Text.Trim();
        JobSiteStarterKit.BOL.Common.SendEmail(emailaddress, subject, message);
        lblmessage.Visible = true;

    }
}
